package com.cole.miniapp.project.mapper;

import com.cole.miniapp.project.domain.FcmUserConsumption;
import com.cole.miniapp.project.vo.Parameter3;
import com.cole.miniapp.project.vo.Parameter4;

import java.util.List;

public interface FcmUserConsumptionMapper {
    int deleteByPrimaryKey(String orderNumber);

    int insert(FcmUserConsumption record);

    int insertSelective(FcmUserConsumption record);

    FcmUserConsumption selectByPrimaryKey(String orderNumber);

    int updateByPrimaryKeySelective(FcmUserConsumption record);

    int updateByPrimaryKey(FcmUserConsumption record);

    List<FcmUserConsumption> selectConsumptionByUserIdAndState(Parameter4 parameter4);

    List<FcmUserConsumption> selectConsumptionByUserId(Parameter3 parameter3);

    void updateUserIdAndStateByOrderNumber(FcmUserConsumption fcmUserConsumption);

    List<FcmUserConsumption> selectConsumptionByStoreId(Parameter3 parameter3);
}